/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Assignment.DTO;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author dieptn
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "bookOrders"
})
@XmlRootElement(name="BookOrders")
public class Book_OrderListDTO {

    @XmlElement(required=true, name="BookOrder")
    protected List<Book_OrderDTO> bookOrders;

    public List<Book_OrderDTO> getBookOrderList() {
        if (bookOrders == null) {
            bookOrders = new ArrayList<Book_OrderDTO>();
        }
        return this.bookOrders;
    }
}
